#define  _CRT_SECURE_NO_WARNINGS  1
#include <stdio.h>
#include <string.h>
int main()
{
	char a[100] = { 0 };
	int i = 0;
	gets(a);
	int len = strlen(a);
	int j = 1;
	for (i = 0; i < len; i++)
	{
		int t = 1;
		if (a[i] >= '0' && a[i] <= '9')
		{
			if (a[i] == '0' && t == 1 && j == 1)
			{
				t = 0;
				continue;
			}
			if (t == 1)
			{
				printf("%c", a[i]);
				j = 0;
			}
		}
	}

	return 0;
}